<?php
include_once('admin_global.php');

$page=$_GET['mod_admin'];
if($page!='')
{
$theme->themfile='theme.php';
$module=new bn_module;
$page=str_replace('-','/',$page);
$theme->add_themplate_value('body',$module->load_module($page));
$theme->render();    
}
else
{
    header('location: ../error.php');
    die;
}

?>